@echo off

:1
gen.py > a.in
a.exe
a_slow
fc a.out a2.out
if errorlevel 1 goto 2
goto 1
:2